<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Powerless < wzxaini9@gmail.com>
// +----------------------------------------------------------------------
namespace app\backstage\validate;

use think\Validate;

class GoodspecValidate extends Validate
{
    protected $rule = [
        'name'    => 'require',
        'status' => 'require',
    ];
    protected $message = [
        'name.require'    => '规格名称不能为空!',
        'status.require' => '状态不能为空!',
    ];

    protected $scene = [
    ];

}